<include file="public@header"/>
</head>
<body>
<div class="layui-fluid js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('storage/index')}">{:lang('ADMIN_STORAGE_INDEX')}</a></li>
    </ul>
    <form method="post" class="layui-form js-ajax-form margin-top-20" action="{:url('storage/settingPost')}">

        <div class="layui-form-item">
            <label for="input-type" class="layui-col-sm2 control-label">存储类型</label>
            <div class="col-md-6 layui-col-sm10">
                <select class="layui-input" name="type" id="input-type">
                    <foreach name="storages" item="vo">
                        <php>$type_selected=isset($type)&&$type==$key?"selected":"";</php>
                        <option value="{$key}" {$type_selected}>{$vo.name}</option>
                    </foreach>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-col-smoffset-2 layui-col-sm10">
                <button type="submit" class="layui-btn layui-btn-normal js-ajax-submit" data-refresh="0">{:lang('SAVE')}</button>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>
